package org.adream.account.dao;

import java.util.List;

import org.adream.account.entity.DreamCenterEntity;
import org.apache.ibatis.annotations.Param;

@BaseMybatisDao
public interface DreamCenterDao {
	
	int addDreamCenter(DreamCenterEntity dreamCenter);
	
	void deleteDreamCenterById(DreamCenterEntity dreamCenter);
	
	void updateDreamCenterById(DreamCenterEntity dreamCenter);
	
	DreamCenterEntity queryDreamCenterById(@Param("dcid") String dcid);
	
	List<DreamCenterEntity> queryDreamCentersByDr(@Param("dr") int dr);
}